Skip to main content link. Accesskey S
  • Help
  • HCL Logo
  • HCL Lotus Expeditor wiki
  • THIS WIKI IS READ-ONLY. Individual names altered for privacy purposes.
  • HCL forums and blogs
  • Home
  • Product Documentation
  • Community Articles
Search
Community Articles > Expeditor Client for Desktop > Sample: Removing Obsolete Links
  • Share Show Menu▼
  • Subscribe Show Menu▼

Recent articles by this author

Sample: Toolbar and Menu Contributions

Expeditor user interface team best practices on toolbar and menu contributions

Sample: Component Properties

OverviewComponent properties allow developers to create code that at compile time has specific function but accepts flexible input at runtime. For example, a developer can create a component that uses a predefined component property to update the title tab's text within a composite ...

Sample: Multiuser Features

Overview When multiple users share the same workstation, the configuration is referred to as a multiuser installation. This means that a single Expeditor client exists and is shared among all users; however, each user has their own workspace containing configuration details specific to that ...

Sample: Starting Plugins

Overview By default, Eclipse plugins are lazy. Lazy is the technical term (located in the bundle's manifest) that means that plugins are started when a request is either directly made by the Platform to start the plugin or indirectly through class loading. For example, the latter case implies ...

Sample: HTTP Communication

Overview The enhanced HTTP client in Expeditor allows developers to quickly create code that requests data from remote servers over HTTP or HTTPS. The enhanced client wraps the standard Java URLConnectionclasses such that authenticated requests leverage the Accounts framework and HTTPS ...
Community articleSample: Removing Obsolete Links
Added by ~Tip Desachekli | Edited by ~Tip Desachekli on May 12, 2011 | Version 4
  • Actions Show Menu▼
expanded Abstract
collapsed Abstract
The global install handler supports the creation of desktop-related objects. This article demonstrates how shortcuts created by the install handler can be removed.
Tags: install, samples
ShowTable of Contents
HideTable of Contents
  • 1 Overview
  • 2 Global Install Handler Input
  • 3 Creating the Uninstaller
  • 4 Using the Uninstaller

Overview


The global install handler supports the creation of desktop-related objects. This article demonstrates how shortcuts created by the install handler can be removed. By default, shortcuts installed by a feature are removed when the feature is removed, but deployers may desire control over the shortcuts created by other features. For example, a developer can create a new feature which removes the default shortcuts created by the Expeditor installation.

Global Install Handler Input


Since the use case intends to simply remove the default shortcuts created during Expeditor installation, begin by locating the properties file which provide the input to create the shortcuts originally. For example, the desktop shortcut's install handler input is located within the com.ibm.rcp.personality.default.branding.feature.jar/w32x86/desktop_xpd_win32.properties file.

link.context=CONTEXT_DESKTOP
link.scope=SCOPE_ALL_USERS
link.displayname=Expeditor 6.2.2
link.iconpath=$FEATURE_DIR/win32x86/xpd.ico
link.target=$RCP_DIR/rcplauncher.exe
#link.args=
link.workingdir=$RCP_DIR
link.windowstate=WINDOW_STATE_NORMAL


When the Default Personality Branding feature is provisioned during the Expeditor installation, the above install handler file is used to create a shortcut on the user's desktop.

Creating the Uninstaller


To remove shortcuts, create a new feature and simply provide the install handler input properties file (seen above) within a folder entitled obsolete. By placing the same properties file within the obsolete folder, the install handler will perform removal of the shortcut without a need to remove the original feature.



Additionally, ensure the install handler is referenced within the feature.



Using the Uninstaller


Install the feature via an update site or edit the install.xml to deliver the feature during the Expeditor installation.

  • Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (4)
collapsed Versions (4)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (4)May 12, 2011, 2:49:20 PM~Tip Desachekli  
3Nov 2, 2010, 9:00:49 PM~Tip Desachekli  
2Nov 2, 2010, 8:57:55 PM~Tip Desachekli  
1Nov 2, 2010, 8:51:31 PM~Tip Desachekli  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedAbout
  • HCL Software
  • HCL Digital Solutions community
  • HCL Software Support
  • BlogsDigital Solutions blog
  • Community LinkHCL Software forums and blogs
  • About HCL Software
  • Privacy
  • Accessibility